package com.jxbeidou.system.org.convert;

import com.jxbeidou.system.org.entity.OrgDO;
import com.jxbeidou.system.org.vo.OrgVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 机构管理
*
* @author 杜晓祥 
* @since 1.0.0 2023-12-14
*/
@Mapper
public interface OrgConvert {
    OrgConvert INSTANCE = Mappers.getMapper(OrgConvert.class);

    OrgDO convert(OrgVO vo);

    OrgVO convert(OrgDO entity);

    List<OrgVO> convertList(List<OrgDO> list);

}